//
//  PSCadastroViewController.h
//  psico
//
//  Created by wagner silva on 09/07/13.
//  Copyright (c) 2013 ws. All rights reserved.
//

#import <UIKit/UIKit.h>

#include <stdio.h>


@interface PSCadastroViewController : UIViewController {

    BOOL checkedM;
    BOOL checkedF;
    BOOL bCal;
}

@property (nonatomic, strong) NSDateFormatter *dateFormatter;
@property (weak, nonatomic) IBOutlet UIButton *checkButtonM;
@property (weak, nonatomic) IBOutlet UIButton *checkButtonF;
@property (weak, nonatomic) IBOutlet UITextField *txtEmail;
@property (weak, nonatomic) IBOutlet UITextField *txtSenha;
@property (weak, nonatomic) IBOutlet UITextField *txtConfSenha;
@property (weak, nonatomic) IBOutlet UITextField *txtDtaNasc;
@property (weak, nonatomic) IBOutlet UIButton *btData;
@property (strong, nonatomic) IBOutlet UIDatePicker *pickerView;
@property (weak, nonatomic) IBOutlet UILabel *lblDtaNasc;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *ocultarPickerData;
@property (weak, nonatomic) IBOutlet UIView *viewAbaixoDaData;
@property (weak, nonatomic) IBOutlet UIToolbar *toolBar;

- (IBAction)recuarTeclado:(id)sender;
- (IBAction)clicarNoFundo:(id)sender;
- (IBAction)checkButtonM:(id)sender;
- (IBAction)checkButtonF:(id)sender;
- (IBAction)limparEmail:(id)sender;
- (IBAction)limparCampoSenha:(id)sender;
- (IBAction)limparCampoConfSenha:(id)sender;
- (IBAction)onClickCadastro:(id)sender;
- (IBAction)onClickData:(id)sender;
- (IBAction)alteraData:(id)sender;
- (BOOL) validarEmail:(NSString *) candidate;
- (IBAction)ocultarPickerData:(id)sender;
- (void) limparCamposCadastro;

@end